<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Collision Checker: /home/osboxes/Documents/p3/root_comm/root/tools/commonroad-collision-checker/cpp/collision/Application.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Collision Checker
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_df511e5bd85cec96854b39d5e1c27aa8.html">cpp</a></li><li class="navelem"><a class="el" href="dir_bf0f0c8865c1942e08ab5157e2c596db.html">collision</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Application.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_application_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Application.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> *  Created on: Jun 12, 2018</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *      Author: osboxes</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#ifndef CPP_COLLISION_APPLICATION_H_</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#define CPP_COLLISION_APPLICATION_H_</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;collision/fcl/perfomance_timers.h&quot;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="_application_8h.html#ad7f4f2cd0c2bd140dfef09b8f84bd0b1">   13</a></span>&#160;<span class="preprocessor">#define RAYTRACE_DEBUG 0</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#if TIME_PROFILE_ENABLED</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#define STACK_TIMER test::StackTimer</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="_application_8h.html#aece99bdae80f594f9dfafc41b5bf0e7b">   18</a></span>&#160;<span class="preprocessor">#define STACK_TIMER</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#ifndef ENABLE_COLLISION_TESTS</span></div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="_application_8h.html#adef0395d87102862923ccbc8241bea24">   21</a></span>&#160;<span class="preprocessor">#define ENABLE_COLLISION_TESTS 0</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespacecollision.html">   25</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacecollision.html">collision</a>{</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="namespacecollision_1_1test.html">   26</a></span>&#160;    <span class="keyword">namespace </span>test{</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">        #ifndef BROADPHASE_FILENAME</span></div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="_application_8h.html#a7853879ba8063e5f35c2a373e6ffcb62">   28</a></span>&#160;<span class="preprocessor">        #define BROADPHASE_FILENAME &quot;/home/osboxes/log_broadphase.txt&quot;</span></div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">        #endif</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">        #ifndef NARROWPHASE_FILENAME</span></div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="_application_8h.html#aa7ac76a0caa4ccb7442858eb785fcc00">   31</a></span>&#160;<span class="preprocessor">        #define NARROWPHASE_FILENAME &quot;/home/osboxes/log_narrowphase.txt&quot;</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    }</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#if ENABLE_COLLISION_TESTS==1</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">    #ifndef ENABLE_COLLISION_TESTS_NARROWPHASE</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">        #define ENABLE_COLLISION_TESTS_NARROWPHASE 0</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">        #define POLYGON_BRUTEFORCE 1</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">    #endif</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">    #include &quot;tests/collision/online_tests/collision_tests.h&quot;</span></div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">static</span> <span class="keywordtype">void</span> tim(<span class="keywordtype">int</span> a)</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;{</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;    <span class="comment">// placeholder</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;}</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="_application_8h.html#ac42d3b3eed7dd7ef74ddf5bf7e5401f7">   55</a></span>&#160;<span class="preprocessor">#define TIMER_splitAARect 0</span></div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="_application_8h.html#aeb942f978ee9ea3e6228b6178572ce6b">   56</a></span>&#160;<span class="preprocessor">#define TIMER_splitBox 1</span></div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="_application_8h.html#a3addf1d229b2983125fa8d3975a25587">   57</a></span>&#160;<span class="preprocessor">#define TIMER_windowQuery 2</span></div><div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="_application_8h.html#a8afcd7ec1dd7c61c3ffc37383ae72471">   58</a></span>&#160;<span class="preprocessor">#define TIMER_timeSlice 3</span></div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="_application_8h.html#af4d2d208505d40534e1af130d3e02d75">   59</a></span>&#160;<span class="preprocessor">#define TIMER_collide 4</span></div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="_application_8h.html#a0a9f8629699fdd12c1133a4751d2378b">   60</a></span>&#160;<span class="preprocessor">#define TIMER_split_aarect_double 5</span></div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="_application_8h.html#af1b5655396f3d1b5b38cd4a9b6d21c97">   61</a></span>&#160;<span class="preprocessor">#define TIMER_removeDuplicateVec2 6</span></div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="_application_8h.html#af43eee3c1ae7e37f1ec48890f0f0d55d">   62</a></span>&#160;<span class="preprocessor">#define TIMER_minkowskiSum 7</span></div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="_application_8h.html#a37608e5e4b430dfbe6f51b9663851c10">   63</a></span>&#160;<span class="preprocessor">#define TIMER_linearMap 8</span></div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="_application_8h.html#a25d436386bf0002e264f007b34cd346e">   64</a></span>&#160;<span class="preprocessor">#define TIMER_intersectHalfspace 9</span></div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="_application_8h.html#a570231f8a62ee1c5d224bd899b08b482">   65</a></span>&#160;<span class="preprocessor">#define TIMER_Polyhedron2VRepConstr 10</span></div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="_application_8h.html#a1e704a4a1d3e92db64c065156c8d3b9d">   66</a></span>&#160;<span class="preprocessor">#define TIMER_splitBox_Outer 11</span></div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="preprocessor">#if TIME_PROFILE_ENABLED</span></div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#define TIMER_START(x) test::start_timer(x);</span></div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;<span class="preprocessor">#define TIMER_STOP(x) test::stop_timer(x);</span></div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="preprocessor">#else</span></div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="_application_8h.html#a2742080cfaf1cf949bc12e12efa8fb37">   73</a></span>&#160;<span class="preprocessor">#define TIMER_START(x)</span></div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="_application_8h.html#a67cfdda4921deb23f0954c5e5639db46">   74</a></span>&#160;<span class="preprocessor">#define TIMER_STOP(x)</span></div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CPP_COLLISION_APPLICATION_H_ */</span><span class="preprocessor"></span></div><div class="ttc" id="namespacecollision_html"><div class="ttname"><a href="namespacecollision.html">collision</a></div><div class="ttdef"><b>Definition:</b> <a href="_application_8h_source.html#l00025">Application.h:25</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
